home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ETO Development Tools 4
/
ETO Development Tools 4.iso
/
Tools - Objects
/
MacApp
/
MacApp 3.0a2
/
CPlusIncludes
/
StdDef.h
< prev
next >
Wrap
Text File
|
1991-05-01
|
408b
|
29 lines
/*
StdDef.h -- Common definitions
Copyright Apple Computer,Inc. 1987-1990
All rights reserved.
*/
#ifndef __STDDEF__
#define __STDDEF__
typedef int ptrdiff_t;
#ifndef __size_t__
#define __size_t__
typedef unsigned int size_t;
#endif
#ifndef __wchar_t__
#define __wchar_t__
typedef short wchar_t;
#endif
#define NULL 0
#define offsetof(structure,field) ((size_t)&((structure *) 0)->field)
#endif